Replace paraglide#521
Merged
matsduf merged 6 commits intozonemaster:releases/ssg-standalone-componentsfrom Dec 16, 2025
Merged
Conversation
Contributor
|
@tbleckert, can you look at the conflicts? |
aa48a12 to
48fd347
Compare
matsduf
approved these changes
Dec 12, 2025
Contributor
matsduf
left a comment
There was a problem hiding this comment.
I see no issues. Translations work as they should when testing.
48fd347 to
4e22629
Compare
marc-vanderwal
requested changes
Dec 15, 2025
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
0f90f73 to
bc332a8
Compare
marc-vanderwal
approved these changes
Dec 16, 2025
Contributor
marc-vanderwal
left a comment
There was a problem hiding this comment.
Looks good. Thanks!
7594300
into
zonemaster:releases/ssg-standalone-components
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Replace the current outdated i18n solution Paraglide with a custom built Vite plugin. Reduces dependencies and easy to maintain.
Context
Paraglide released a new major version that dropped support for SSG in Astro. While possible to make it work with some digging and manual work, we can see this as an opportunity to reduce some dependencies in favour of a simpler custom built solution. Paraglide was also indirectly affected by the Shai-Hulud worm as it had posthog as a dependency.
Changes
Introduces a custom built Vite plugin instead of Paraglide. Translation files stays intact except for the removal of the schema definition. Some references has been replaced as well.
Also upgraded Astro and other dependencies to remove all remaining vulnerabilities and have all packages up to date.
How to test this PR
Just some general testing to make sure translations still work.